.phone-model-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.three-canvas {
  width: 100%;
  height: 100%;
  cursor: grab;
  
  &:active {
    cursor: grabbing;
  }
}

.controls-panel {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 280px;
  max-width: 350px;
  
  .status-info {
    margin-bottom: 15px;
    
    .status-text {
      font-size: 16px;
      font-weight: 600;
      color: #2c3e50;
      margin-bottom: 5px;
      display: block;
    }
    
    .parts-count {
      font-size: 14px;
      color: #7f8c8d;
      display: block;
    }
    
    .animating-text {
      font-size: 14px;
      color: #e74c3c;
      font-weight: 500;
      display: block;
      animation: pulse 1.5s infinite;
    }
  }
  
  .step-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    
    .step-btn {
      padding: 8px 16px;
      border: 2px solid #3498db;
      background: white;
      color: #3498db;
      border-radius: 8px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500;
      transition: all 0.3s ease;
      
      &:hover:not(:disabled) {
        background: #3498db;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
      }
      
      &.active {
        background: #3498db;
        color: white;
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
      }
      
      &:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
      }
    }
  }
  
  .parts-info {
    margin-bottom: 15px;
    
    > text:first-child {
      font-size: 14px;
      font-weight: 600;
      color: #2c3e50;
      margin-bottom: 8px;
      display: block;
    }
    
    .part-item {
      font-size: 12px;
      color: #7f8c8d;
      margin-left: 10px;
      display: block;
      line-height: 1.4;
    }
  }
  
  .instructions {
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    
    text {
      font-size: 12px;
      color: #95a5a6;
      line-height: 1.4;
      display: block;
    }
  }
}

// 动画效果
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

// 响应式设计
@media (max-width: 768px) {
  .controls-panel {
    top: 10px;
    left: 10px;
    right: 10px;
    min-width: auto;
    max-width: none;
    padding: 15px;
    
    .step-controls {
      .step-btn {
        flex: 1;
        min-width: 60px;
      }
    }
  }
}

// 深色模式支持
@media (prefers-color-scheme: dark) {
  .phone-model-container {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  }
  
  .controls-panel {
    background: rgba(44, 62, 80, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    .status-info {
      .status-text {
        color: #ecf0f1;
      }
      
      .parts-count {
        color: #bdc3c7;
      }
    }
    
    .parts-info {
      > text:first-child {
        color: #ecf0f1;
      }
      
      .part-item {
        color: #bdc3c7;
      }
    }
    
    .instructions text {
      color: #95a5a6;
    }
  }
}